/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.camachosanchez.test;

import com.camachosanchez.util.Constantes;
import com.camachosanchez.util.seguridad.Encriptador;

/**
 *
 * @author Rolando
 */
public class PruebaEncriptacion {

    public static void main(String[] args) {
        try {
            System.out.println(Encriptador.encriptar("admin", Constantes.LLAVE));
//            System.out.println(Encriptador.desencriptar("7256293ED02A438DE7121191D22D9709", new File("resources" + File.separator + "seguridad" + File.separator + "nirsa-generador-170413-1155.key")));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
